import { createWebHistory, createRouter } from "vue-router";
import { routes } from "./routes.js";

const router = createRouter({
  history: createWebHistory(), // 路由类型
  routes, // short for `routes: routes`
});

export default router;
